<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
class TableNuevoac extends JTable
{
	var $id = null;
	var $type = null;
	var $refdate = null;
	var $link = null;
	var $url = null;
	var $hr = null;
	var $min = null;
	var $thr = null;
	var $tmin = null;
	var $category_id = null;
	var $email_alert = null;
	var $cron_email = null;
	var $short_desc = null;
	var $long_desc = null;
	var $short_desc_image = null;
	var $long_desc_image = null;
	var $active = null;
	var $created = null;
	var $enddate = null;

	function TableNuevoac(& $db) {
		parent::__construct('#__qcalendar', 'id', $db);
	}
	function check(){
		if (trim($this->short_desc)==''){$this->setError(JText::_('COM_PQCE_SHORTDESCERR')); return false;}
		return true;
	}
}
